<!--#include("header.html")-->

<table cellspacing="0" border="1" summary="List of Articles" class="wikiList">
    <thead>
        <tr>
            <th scope="col" class="title">{$lang->title}</th>
            <th scope="col">{$lang->author}</th>
            <th scope="col">{$lang->date}</th>
        </tr>
    </thead>
    <tbody>
    <!--@foreach($document_list as $val)-->
        <tr>
            <td class="title">
                <a href="{urldecode(getUrl('','mid',$mid,'entry',$val->get('title')))}">{$val->getTitle()}</a>
            </td>
            <td class="author"><a href="#" onclick="return false;" class="member_{$val->member_srl}">{$val->getNickName()}</a></td>
            <td class="date">{$val->getRegdate("Y.m.d H:i")}</td>
        </tr>
    <!--@end-->
    </tbody>
</table>

<form action="{getUrl()}" method="get" class="wikiSearchForm footer">
    <fieldset>
        <legend>Wiki Search</legend>
        <input type="hidden" name="vid" value="{$vid}" />
        <input type="hidden" name="mid" value="{$mid}" />
        <input type="hidden" name="act" value="{$act}" />
        <input type="hidden" name="category" value="{$category}" />
        <input type="hidden" name="search_target" value="title_content" />
        <select name="search_target">
            <!--@foreach($search_option as $key => $val)-->
            <option value="{$key}" <!--@if($search_target==$key)-->selected="selected"<!--@end-->>{$val}</option>
            <!--@end-->
        </select>
        <input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" class="inputText" accesskey="S" title="{$lang->cmd_search}" />
        <!--@if($last_division)-->
            <a href="{getUrl('page',1,'document_srl','','division',$last_division,'last_division','')}" class="button"><span>{$lang->cmd_search_next}</span></a>
        <!--@end-->
        <span class="buttonOfficial"><button type="submit">{$lang->cmd_search}</button></span>
    </fieldset>
</form>


<div class="pagination a1">
    <a href="{getUrl('page','','document_srl','','division',$division,'last_division',$last_division,'entry','')}" class="prevEnd">{$lang->first_page}</a> 
    <!--@while($page_no = $page_navigation->getNextPage())-->
        <!--@if($page == $page_no)-->
            <strong>{$page_no}</strong> 
        <!--@else-->
            <a href="{getUrl('page',$page_no,'document_srl','','division',$division,'last_division',$last_division,'entry','')}">{$page_no}</a>
        <!--@end-->
    <!--@end-->
    <a href="{getUrl('page',$page_navigation->last_page,'document_srl','','division',$division,'last_division',$last_division,'entry','')}" class="nextEnd">{$lang->last_page}</a>
</div>

<!--#include("footer.html")-->
